Get Attribute descriptions

Hello,

how can I get the description from an attribute.
I tried to use the following in my script:

ad = find(current Module, "Object Text")
desc = ad.description

The Object Text is always the name of an existing attribute.

When I try to print the Object Text and the Description, the Object Text ist correct (it lists the attributes), but the description always shows "System Attribute" although I changed the description text of several attributes.

System: DOORS 9.1 Server & Client

BR
SystemAdmin - Wed Jul 22 04:30:07 EDT 2009

Re: Get Attribute descriptions
SystemAdmin - Wed Jul 22 05:01:45 EDT 2009

Ah, I get it by myself,

I forgot to run the attribute description in the for-loop.
So it always took the description from the first attribute.

Now it runs perfectly.